package route

import (
	"github.com/gin-gonic/gin"
	"shop_api/api"
)

func InitUserRoute(Router *gin.RouterGroup) *gin.RouterGroup {

	UserGroup := Router.Group("user")
	UserGroup.POST("list", api.GetUserList)
	UserGroup.POST("login", api.Login)
	return UserGroup
}
